DataCollection | ComponentOne
C1.DataCollection Assembly / C1.DataCollection Namespace / IDataCollectionEx Class / GroupAsync Method / GroupAsync<T>(IDataCollection<T>,GroupDescription[],CancellationToken) Method
The data collection.
The group descriptions that determine how the data will be grouped.
The cancellation token.

In This Topic
    GroupAsync<T>(IDataCollection<T>,GroupDescription[],CancellationToken) Method
    In This Topic
    Groups the data collection according to the specified group descriptions.
    Syntax
    'Declaration
     
    Public Overloads Shared Function GroupAsync(Of T As Class)( _
       ByVal dataCollection As IDataCollection(Of T), _
       ByVal groupDescriptions() As GroupDescription, _
       Optional ByVal cancellationToken As CancellationToken _
    ) As Task
    public static Task GroupAsync<T>( 
       IDataCollection<T> dataCollection,
       GroupDescription[] groupDescriptions,
       CancellationToken cancellationToken
    )
    where T: class

    Parameters

    dataCollection
    The data collection.
    groupDescriptions
    The group descriptions that determine how the data will be grouped.
    cancellationToken
    The cancellation token.

    Type Parameters

    T
    See Also